Saxon-HE Packaging
Compile the custom function classes by using the Saxon-HE 12.8 JAR on the classpath:
javac -cp Saxon-HE-12.8.jar -d . *.java |
Package the compiled classes into a helper JAR:
jar cvf helpers.jar com/ |
Place helpers.jar on the classpath or in the WEB-INF/lib directory of the distribution.
After deployment, the custom function becomes available to XSLT transformations through its configured QName.